
const TOKEN_KEY = 'TOKEN'

export const setToken = (token:string) => {
  localStorage.setItem(TOKEN_KEY,token)
}
export const getToken = ():string => {
  return localStorage.getItem(TOKEN_KEY) || ''
}

export const removeToken = () => {
  localStorage.removeItem(TOKEN_KEY)
}
